## Detects [name] was killed by TEAMMATE [you] messages and prints a customised sorry message
# Replace ^5{S}^3durand^4@^2ubuntu^1|+| with the first part of your tremulous name
import tremcs
tremcs.InGameFunctions().OnEvent(['custom','killed by ^1TEAMMATE^7 ^5{S}^3durand^4@^2ubuntu^1|+|'],{'s':" ",'r':{0:'[zeroth]'},'os':"say_team Sorry [zeroth]!",'ot':"file",'of':'/home/durand/.tremulous/base/sorry.cfg'},0.5)
